@import "../button/button";
@import "./year";
@import "./month";
@import "./day";
@import "./datepicker";
@import "./input-datepicker";

@mixin aui-create-date() {
    &__action {
        display: inline-block;
        vertical-align: middle;        
    }
    &__week {
        text-align: center;
    }  

    @include aui-selector-use-modify("button", "__action") {
        @include aui-button-mixin-button();
    }

    .disabled {
        color: $aui-brand-gray;
        &:hover {
            cursor: default;
        }
    }
}

.aui-date {
    @include aui-create-date();
    @include aui-create-day();        
}

.aui-month {
    @include aui-create-date();
    @include aui-create-month();
}

.aui-year {
    @include aui-create-date();
    @include aui-create-year();
}

@include aui-create-input-datepicker();